import React from "react";
import { useNavigate } from "react-router-dom";

function pay() {
  const navigate = useNavigate();
  return (
    <div>
      <p
        onClick={() => {
          navigate(-1);
        }}
        style={{ cursor: "pointer" }}
      >
        &lt;&lt;返回
      </p>
      支付
    </div>
  );
}

export default pay;
